home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Amiga Amateur Radio User Group
/
AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].zip
/
AARUG UK #81 (199x)(Amiga Amateur Radio User Group UK)(PD)[WB][G4DCV].adf
/
DisView
/
NNTP
< prev
next >
Wrap
Text File
|
1995-05-29
|
6KB
|
157 lines
==== DISview [518]
nntp
====
The 'nntp' commands control the operation of the Network News
Transfer Protocol (NNTP).
_________________________________________________________________
nntp addserver <nntpserver_nodename> <interval>
[<range>] [<groups>]
_________________________________________________________________
Add an NNTP news server to query every <interval> seconds for new
articles in the specified <groups>.
Attempts to access the server are subject to the timeout which is
specified in the 'smtp wait' command.
<range> specifies the time-of-day limits when the queries will be
made.
Multiple 'nntp addserver' commands may be used to concatenate
groups (up to a maximum of 512 bytes).
>> Example:
nntp addserver news.demon.co.uk 600 22:00-23:00 demon.ip.*
(In this example, the NNTP client wakes up every 600 seconds,
but only attempts to connect to the server between 10pm-11pm.
At all other times, the client reports "Window to
'news.demon.co.uk' not open").
Although it is possible to specify the newsgroups of interest in
the 'addserver' command (as in the example above), it is usually
preferable and more convenient to specify them in the file
~/spool/news/nntp.dat instead.
_________________________________________________________________
nntp batch [on|off <n>]
_________________________________________________________________
Display or set the NNTP batch flag and number of batch buffers.
Each buffer occupies about 512 bytes.
When set to 'on', new requests may be sent to the server before
previous requests have been received. This speeds things up.
>> Example: nntp batch on 4
Set <n> to 8 or 12 if there is enough RAM.
_________________________________________________________________
nntp directory [ <spool_directory> [ <control_directory> ]]
_________________________________________________________________
Display or set the default spool directory and control directory.
The spool directory is where the downloaded batches are written.
The control directory is where the data, history, kill and get
files are kept.
>> Example:
nntp directory c:/demon/spool/articles c:/demon/spool/news
_________________________________________________________________
nntp dropserver <nntpserver_nodename>
_________________________________________________________________
Drop the specified NNTP server.
>> Example: nntp drop news.demon.co.uk
_________________________________________________________________
nntp groups <group> [<group> ...]
_________________________________________________________________
Display or set the currently set USEnet newsgroup(s). The group
names are separated by spaces or commas. The '*' and '!'
metacharacters (meaning 'all' and 'not' respectively) are
supported.
>> Example: nntp groups demon.announce demon.ip.support.announce
The groups specified in this command are only accessed if
~/spool/news/nntp.dat does not exist or is unusable (e.g. because
it is corrupted).
_________________________________________________________________
nntp kick [ <nntpserver_nodename> ]
_________________________________________________________________
Force a poll of <nntpserver_nodename>. This has no effect if a
poll is already being attempted. 'nntp kick' by itself kicks all
connected news servers.
>> Examples: nntp kick
nntp kick news.demon.co.uk
_________________________________________________________________
nntp listservers
_________________________________________________________________
List the currently defined servers, the polling intervals, the
polling windows, and any groups specified in 'nntp addserver'
commands.
_________________________________________________________________
nntp newgroups [on|off]
_________________________________________________________________
Display or set the NEWGROUPS flag. When set to 'on', the client
asks the server for the names of new groups created since the
previous successful poll. The names are appended to the file
~/spool/news/newgroup. No attempt is made to remove duplicate
entries.
>> Example: nntp newgroups on
_________________________________________________________________
nntp safety [on|off]
_________________________________________________________________
Display or set the file safety flag. When set to 'on', output
files are closed after each article is received. This gives
maximum protection if a machine crash occurs, but adds extra disk
overhead.
>> Example: nntp safety off
_________________________________________________________________
nntp trace <level> Default: 1
_________________________________________________________________
Sets or shows the current trace level for NNTP traffic.
Level
0: No tracing.
1: Display serious errors only
2: Display serious and transient errors
3: Display serious and transient errors, plus session progress
4: Display serious and transient errors, session progress and
actual received articles
5: Display errors.
6:
7: Full trace
>> Example: nntp trace 4
_________________________________________________________________
nntp verbose [on|off]
_________________________________________________________________
Display or set the verbose flag. When set to 'on', much
information about session progress is displayed on the console.
>> Example: nntp verbose on